<#include "header.htm"/>
<#--
<link rel="alternate" type="application/rss+xml" title="RSS" href="${contextPath}/rss/forums${extension}" />
-->
		 <table cellspacing="0" cellpadding="1" width="100%" align="center" border="0">
				<tr>
					<td valign="bottom" align="left">
					<#if logged>
					    <span class="gensmall">${I18n.getMessage("ForumListing.lastVisit")}: ${lastVisit}</span><br />
					</#if>
						<span class="gensmall">${I18n.getMessage("ForumListing.date")}: ${now}</span><br />
						<span class="forumlink"><a class="forumlink" href="${JForumContext.encodeURL("/forums/list")}">${I18n.getMessage("ForumListing.forumIndex")}</a></span>
					</td>
					<td class="gensmall" valign="bottom" align="right">&nbsp;
					<#if logged>
						<a class="gensmall" href="${JForumContext.encodeURL("/forums/newMessages")}">${I18n.getMessage("ForumListing.readLastVisitMessages")}</a>
					</#if>
					</td>
				</tr>
			</table>
			
			<table class="forumline"   cellspacing="1" cellpadding="0" width="100%" border="0">
				<tr>
 					<th class="thcornerl" nowrap="nowrap"     align="center"  >&nbsp;${I18n.getMessage("ForumListing.forums")}&nbsp;</th>
					<th class="thtop"    nowrap="nowrap" align="center" width="250">&nbsp;${I18n.getMessage("ForumIndex.forumAdmins")}&nbsp;</th>
					<th class="thtop" nowrap="nowrap" align="center" width="100">&nbsp;${I18n.getMessage("ForumListing.totalTopics")}&nbsp;</th>
					<th class="thcornerr" nowrap="nowrap" align="center" width="100">&nbsp;${I18n.getMessage("ForumListing.totalMessages")}&nbsp;</th>
				</tr>
 
		         <tr>
	 	              <td   class="row3"    height="25" onmouseover="style.backgroundColor='#E8E8E8'" onmouseout="style.backgroundColor='#fafafa'">
		              <span class="forumlink"><a id="allTopic"   href="${JForumContext.encodeURL("/allTopics/list")}" >${I18n.getMessage("ForumBase.allForum")}</a></span>&nbsp;
		              </td>
		              <td   class="forumlistRow" valign="middle" align="center" height="25" nowrap="nowrap" width="250">&nbsp;&nbsp;</td>
		              <td  class="forumlistRow" valign="middle" align="center" height="25" nowrap="nowrap" width="100">&nbsp;&nbsp;</td>
		              <td class="forumlistRow" valign="middle" align="center" height="25" nowrap="nowrap" width="100">&nbsp;&nbsp;</td>
		          </tr>
				<!-- START FORUM LISTING -->
				<#list allCategories as category>
				
				
				 <tr>
 				 <td class="forumlistRow" valign="middle"  width="100%">
			  	 <span class="forumlink" style="font-size:15px;color:#006699;" >
			  	 ${category.name}
				   </span><br />
				       <span style="font-size:10px;">子论坛:</span>
				   <#list category.getForums() as forum>
				     <span style="font-size:10px;">
				        <a class="forumlink"  style="font-family:Tahoma;padding-right:6px;padding-left:6px ;text-decoration:underline;font-size:1em;" href="${JForumContext.encodeURL("/forums/show/${forum.id}")}">
							    ${forum.name?html} 		 
						    </a> &nbsp;&nbsp;&nbsp;&nbsp;
					   </span>
				   </#list>
				 </td>
				 <td class="forumlistRow" valign="middle"  width="100%">
				 <td class="forumlistRow" valign="middle"  width="100%">
				 <td class="forumlistRow" valign="middle"  width="100%">
				 </tr>
			</#list>		<!-- END OF FORUM LISTING -->
			</table>
			</br>
<#include "bottom.htm"/>
